import matplotlib.pyplot as plt
import numpy as np
from PIL import Image
plt.figure()
m = np.arange(-100, 100, 0.001)
n = m ** 3 + 3 * m ** 2 + 4
plt.axis([-4, 2.5, 3, 8.5])
plt.plot(m, n, color='b', linestyle='-')
plt.text(-2, 8, (-2, 8), color='r')
plt.grid(True)
plt.show()
# path = r'E:\2021homework\cv_masks\yolo\masks_data\IMFD\01000\01001_Mask_Mouth_Chin.jpg'
# img = Image.open(path)
# plt.figure("Image")
# plt.imshow(img)
# plt.axis('on')
# plt.title('image')
# plt.show()
